package utils;

import java.util.List;

import javax.ejb.Remote;

import dtos.TechresourceDTO;

@Remote
public interface TechresourceDAORemote {

	List<TechresourceDTO> getTechResourcesDTOByDomainId(int id);

	public TechresourceDTO getTechresourcesById(int id);

	void insertTechresource(TechresourceDTO tech);

	List<TechresourceDTO> getTechResourcesDTOByIp(String ip);

	List<TechresourceDTO> getAllTechresources();

	List<TechresourceDTO> getAllTechresourcesByName(String name);

	void deleteTechresource(TechresourceDTO ud);

	List<TechresourceDTO> getTechresourcesByName(String name);

	List<String> getAllPrinterIps();

	List<TechresourceDTO> getTechResourcesDTOPrinterByDomainId(int id);

	void updateTechresource(TechresourceDTO tech);

	TechresourceDTO getTechResourceDTOByIp(String ip);

	void setDomainNullByDomainId(int idDomain);

	List<TechresourceDTO> getTechResourcesDTOPrinters();

}
